﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace PLCDataCollector.Core.Entities
{
    [SugarTable("T_DeviceMapping")]
    public class DeviceMapping
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        public string MmachineId { get; set; }

        public string MachineId { get; set; }
        public string Ip { get; set; }
        public int Port { get; set; }
        public string ProtocolType { get; set; }
        public bool IsActive { get; set; }
        public string Description { get; set; }
    }
}
